home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / amitcp / amitcp-src-22.lha / AmiTCP-2.2 / src / l / GNUmakefile
Encoding:
Makefile  |  1993-11-17  |  2.1 KB  |  68 lines

  1. # $Id: GNUmakefile,v 1.2 1993/11/17 13:45:43 too Exp $
  2. #
  3. # GNUmakefile for AmiTCP/IP device handlers
  4. #
  5. # Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  6. #                  Helsinki University of Technology, Finland.
  7. #                  All rights reserved.
  8. #
  9. # Created      : Wed Nov 17 14:31:11 1993 too (original: ppessi)
  10. # Last modified: Wed Nov 17 15:41:28 1993 too
  11. #
  12. # $Log: GNUmakefile,v $
  13. # Revision 1.2  1993/11/17  13:45:43  too
  14. # Some macro name fixes after first test I could make
  15. #
  16. # Revision 1.1  1993/11/17  12:47:39  too
  17. # Initial revision
  18. #
  19.  
  20. DIST_L = $(DIST)/l
  21.  
  22. GENERIC = GNUmakefile
  23. #
  24. # inet-handler compiled with gcc
  25. #
  26.  
  27. INETHANDLER =    inet-handler/Makefile inet-handler/applport.c \
  28.         inet-handler/applport.h inet-handler/args.c \
  29.         inet-handler/args.h inet-handler/c.c \
  30.         inet-handler/c.h inet-handler/cleanup.c \
  31.         inet-handler/cleanup.h inet-handler/debug.h \
  32.         inet-handler/dirindex.h inet-handler/global.h \
  33.         inet-handler/handler.c inet-handler/handler.h \
  34.         inet-handler/handler/begin.c \
  35.         inet-handler/handler/startup.c \
  36.         inet-handler/handler/pendingwrites.c \
  37.         inet-handler/handler/readevent.c \
  38.         inet-handler/handler/applmsg.c \
  39.         inet-handler/handler/timermsg.c \
  40.         inet-handler/handler/mymsg.c \
  41.         inet-handler/handler/cleanup.c \
  42.         inet-handler/inet-handler.c inet-handler/inet-handler.h \
  43.         inet-handler/inet-handler.rev inet-handler/inl_dos.h \
  44.         inet-handler/inl_exec.h inet-handler/inl_socket.h \
  45.         inet-handler/interrupt.c inet-handler/interrupt.h \
  46.         inet-handler/muldiv.h inet-handler/readargs.c \
  47.         inet-handler/readargs.h inet-handler/runstart.c \
  48.         inet-handler/runstart.h inet-handler/socketbase_in_context.h \
  49.         inet-handler/system_includes.h inet-handler/timer.h \
  50.         inet-handler/util.c inet-handler/util.h
  51.  
  52. LSRC = $(GENERIC) $(INETHANDLER)
  53.  
  54. DIST: $(LSRC)
  55.     test -d $(DIST) || mkdir $(DIST) 
  56.     test -d $(DIST_L) || mkdir $(DIST_L)
  57.     tar cf - $(LSRC) | (cd $(DIST_L); tar xf -)
  58.  
  59. RELEASE: $(LSRC)
  60.     for F in $(LSRC) ; do \
  61.       rlog -R $$F && { \
  62.         if ident -q $$F | fgrep '$$' >/dev/null ; \
  63.           then rcs -q '-N$(RELEASE):$$' $$F ; \
  64.           else rcs -q '-N$(RELEASE):' $$F ;\
  65.         fi ; \
  66.           } ;\
  67.     done
  68.